﻿<Windows:WindowBase x:Class="TS3ServerManager.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Controls="clr-namespace:TS3ServerManager.Controls" xmlns:Windows="clr-namespace:TS3ServerManager.Windows" Title="Teamspeak 3 Server Manager" Height="570" Width="770" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <Menu HorizontalAlignment="Stretch" Name="MainMenu" VerticalAlignment="Stretch">
            <MenuItem Header="App">
                <MenuItem Name="ExitMenu" Header="Exit" Click="ExitMenu_Click" />
            </MenuItem>
            
            <MenuItem Header="Help">
                <MenuItem Name="AboutMenu" Header="About" Click="AboutMenu_Click" />
            </MenuItem>
        </Menu>

        <Grid Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <Grid Width="Auto" MinWidth="150">
                <Controls:ConnectionAreaControl x:Name="ConnectionArea"/>
            </Grid>

            <Grid Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <TabControl Name="ServerTabsControl">
                    
                </TabControl>
            </Grid>

            <GridSplitter Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Left" Width="3" ResizeDirection="Columns" />
        </Grid>
        <GridSplitter Grid.Row="1" Height="100" HorizontalAlignment="Left" Margin="-212,211,0,0" Name="gridSplitter1" VerticalAlignment="Top" Width="10" />
    </Grid>
</Windows:WindowBase> 
